home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 6
/
FM Towns Free Software Collection 6.iso
/
t_os
/
igo
/
src
/
miauto.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-07-08
|
5KB
|
220 lines
#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>
extern int auto_dialogId ;
extern int auto_messageId[7] ;
extern int auto_icon[2] ;
extern int auto_bottonId[2] ;
extern int igo_autoset() ;
extern int igo_autocancel() ;
extern int auto_numbox ;
#define ALIGN 4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
/* MMI_init 用データ */
/* ヘッダ */
MMIINIT initDataMIAUTO = { "MmiInit", 12, 0 } ;
/* auto_dialogId */
static MMIPACKET d001 = { &auto_dialogId,
NULL,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d001d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SAVEL40,
197, 68, 427, 352, 8, 7, 8,
MS_SRECTL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* auto_messageId[0] */
static MMIPACKET d002 = { &auto_messageId[0],
&auto_dialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d002d = { MS_CENTERL40 | MS_DSPONLYL40,
233, 89, 392, 112, 8,15, 8,
MS_NONEL40,
"自動再生",
1, 12, 12,
MS_NONEL40,
10, 0
} ;
/* auto_icon[1] */
static MMIPACKET d003 = { &auto_icon[1],
&auto_dialogId,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d003d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
232, 156, 245, 175, 8, 7, 8,
MS_NONEL40,
0,
0x0000, 259, 260
} ;
/* auto_icon[0] */
static MMIPACKET d004 = { &auto_icon[0],
&auto_dialogId,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d004d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
232, 126, 245, 145, 8, 7, 8,
MS_NONEL40,
0,
0x0000, 259, 260
} ;
/* auto_messageId[1] */
static MMIPACKET d005 = { &auto_messageId[1],
&auto_dialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d005d = { MS_LEFTL40 | MS_DSPONLYL40,
255, 123, 414, 146, 8,15, 8,
MS_NONEL40,
"ル-プする",
1, 12, 12,
MS_NONEL40,
10, 0
} ;
/* auto_messageId[2] */
static MMIPACKET d006 = { &auto_messageId[2],
&auto_dialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d006d = { MS_LEFTL40 | MS_DSPONLYL40,
256, 155, 415, 178, 8,15, 8,
MS_NONEL40,
"変化再生する",
1, 12, 12,
MS_NONEL40,
10, 0
} ;
/* auto_messageId[4] */
static MMIPACKET d007 = { &auto_messageId[4],
&auto_dialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d007d = { MS_LEFTL40 | MS_DSPONLYL40,
216, 237, 305, 262, 8,15, 8,
MS_NONEL40,
"再生速度",
1, 12, 12,
MS_NONEL40,
10, 0
} ;
/* auto_bottonId[0] */
static MMIPACKET d008 = { &auto_bottonId[0],
&auto_dialogId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d008d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
228, 294, 307, 319, 4,15, 8,
MS_PANELL40 | MS_FRAMEL40,
igo_autoset,
0x0000
} ;
/* auto_bottonId[1] */
static MMIPACKET d009 = { &auto_bottonId[1],
&auto_dialogId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d009d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
333, 294, 412, 319,10,15, 8,
MS_PANELL40 | MS_FRAMEL40,
igo_autocancel,
0x0000
} ;
/* auto_numbox */
static MMIPACKET d010 = { &auto_numbox,
&auto_dialogId,
&MJ_NUMBOXL40,
OFFSET(NUMBOXL40),
MS_NONE
} ;
static NUMBOXL40 d010d = { MS_BTLEFTL40 | MS_REPEATL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_RIGHTL40,
316, 236, 411, 259, 8,15, 8,
MS_PANELL40 | MS_FRAMEL40,
0,
1, 12, 12,
MS_NONEL40,
0, 0,
0, 0, 255, 1, 0,
263, 264
} ;
/* auto_messageId[5] */
static MMIPACKET d011 = { &auto_messageId[5],
&auto_dialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d011d = { MS_CENTERL40 | MS_DSPONLYL40,
231, 296, 304, 316, 8,15, 8,
MS_NONEL40,
"設定",
1, 12, 12,
MS_NONEL40,
10, 0
} ;
/* auto_messageId[6] */
static MMIPACKET d012 = { &auto_messageId[6],
&auto_dialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d012d = { MS_CENTERL40 | MS_DSPONLYL40,
335, 296, 408, 316, 8,15, 8,
MS_NONEL40,
"取消",
1, 12, 12,
MS_NONEL40,
10, 0
} ;